package com.yunxin.core.infra.persistence.mapper.warn;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunxin.core.application.dto.warn.WarnCheckChannelDTO;
import com.yunxin.core.domain.model.warn.WarnHistory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-05-13
 */

@DS("core")
@Mapper
public interface WarnHistoryMapper extends BaseMapper<WarnHistory> {

    List<WarnCheckChannelDTO> checkChannel(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
